#import "../fragments/note.fragment.graphql"

query vulnerabilityDiscussions(
  $id: VulnerabilityID!
  $after: String
  $before: String
  $first: Int
  $last: Int
) {
  vulnerability(id: $id) {
    id
    discussions(after: $after, before: $before, first: $first, last: $last) {
      nodes {
        id
        replyId
        notes {
          nodes {
            ...SecurityDashboardNote
          }
        }
      }
    }
  }
}
